#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

int main()
{
  chdir("/home/classzy");


  FILE *fp =fopen("log.txt","w");
  (void)fp;
  fclose(fp);

  while(1)
  {
    printf("I am a process ,pid: %d\n",getpid());
    sleep(1);
  }

  return 0;
}
